﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RWLib
{
    public abstract class Query: IComparable
    {

        protected Tree tree;

        public Tree TreeSc {
            get { return tree; }
            set { tree = value; }
        }

        abstract public bool Run();

        public virtual int CompareTo(object obj)
        {
            return -1;
        }
    }
}
